Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt to new colorbar behavior in mpl 3.0. fixes #2099 #2101

Merged
merged 3 commits into from Nov 26, 2018

Conversation

ngoldbaum
Copy link
Member

Matplotlib 3.0 includes a number of improvements to colorbars, one of which makes a hack in yt's handling of colorbars unnecessary, leading to the weird behavior in #2099. The fix is to guard the hack behind a matplotlib version check.

@ngoldbaum
Copy link
Member Author

Ugh wish I'd looked closer at the test failures when I updated the tests to use matplotlib 3, would have caught this then. Oh well.... Will push new test answers shortly.

@ngoldbaum ngoldbaum merged commit 3ce43cb into yt-project:master Nov 26, 2018
@ngoldbaum ngoldbaum deleted the phase-plot-colorbar branch December 11, 2018 15:34
ngoldbaum pushed a commit to ngoldbaum/yt that referenced this pull request Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants